#57937
01/15/2005 10:23 AM
|
Joined: May 2003
Posts: 20
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 20 |
Read through the post at top about hacking the cp.cgi and am currently trying to sort it all out. Figured Id ask in the event that the solution is quick: I want to remove some of the options that moderators have and also remove many admin options. Id like the control panel to look almost totally empty of options with a few more in the admin. I'll make a backup of the edited files so I can always have full admin control by restoring the original vars file. For example, I dont want admin or mods to have the ability to change the STYLE or appearance. I just want to remove those links entirely via the cp.cgi. I also want to remove paths link even though I have the vars_pathlock installed. Ive got an admin who constantly clicks the wrong things and costs me hours or repair Am assuming its just a vars file that has the options. And would it be safe to say that I could also add moderator options if necessary? Thanks in advance
|
|
|
#57939
01/15/2005 11:54 AM
|
Joined: May 2003
Posts: 20
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 20 |
thanks, thats a great alternative but if possible Id still like to change what controls the admin has as well. I need my admins to control simple ip bans and other options but not change layout and prune and mass delete etc.
|
|
|
#57940
01/15/2005 3:02 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
What version of UBB are you using? If 6.6 or above, I can help
|
|
|
#57941
01/16/2005 6:15 PM
|
Joined: May 2003
Posts: 20
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 20 |
6.7.0
Ive done several hacks over the years I just dont yet know what lines to change myself to remove the options. And it probably doesnt have to work perfect just so long as the functioning options work. I'll keep the original vars file for when I need to get in there and take control since Im the only person with server access.
|
|
|
#57942
01/16/2005 8:10 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, to remove pages for mods In cp2_lib.cgi MOD_MENUS_TIER_ONE => [ [$vars_wordlets_cp2{moderator_home}, qw(modhome forums prune massmove rebuilds)], ], remove "forums" to disallow them to do things like renaming the forum and changing the styles. In cp2_lib.cgi [$vars_wordlets_cp2{admin_master}, qw(paths primary genpermissions)],To remove the paths page, well, remove "paths". In cp2_lib.cgi [$vars_wordlets_cp2{admin_display}, qw(general wordlets styles)],To remove the styles page for admins, remove.... "styles"
|
|
|
#57943
01/16/2005 9:08 PM
|
Joined: May 2003
Posts: 20
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 20 |
Awesome. Stripped everything down and remaining options work) and I think I can figure out how to give moderators some admin options such as IP bans which they normally dont have.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 4888
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 29
|
|
|
|